package top.finen.miniweapp.service.impl;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import top.finen.miniweapp.entity.Book;
import top.finen.miniweapp.mapper.BookMapper;
import top.finen.miniweapp.service.BookService;

import java.util.List;

@Service
public class BookServiceImpl implements BookService {

    @Autowired
    BookMapper bookMapper;

    @Override
    public List<Book> getAllBook() {
        return bookMapper.selectAllBook();
    }
}
